<?php

namespace app\model;

use app\model\Base\OldReview as BaseOldReview;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class OldReview
 * 
 * @package app\model
 */
class OldReview extends BaseOldReview
{
    use SoftDeletes;
    // 在这里添加你的自定义代码
    // 自定义关联、访问器、修改器、作用域等

    public function user()
    {
        return $this->belongsTo('app\model\Old', 'old_id','id');
    }
}
